ocr: 1. Queue-length update: Beginning with 90:-0, if the ith event is an arrival event, 9=9-1+1;ift the ith event is a departure event, 4=9i-1-1. 2. - Queue-area integral) update: Area of the previous cycle = Area of the current cycle == 24-104-4-1) 291-14-1-1) tiett0.) el71.0) 3. Average queue-length update: Average queue length over the two cycles Area of the two cycles Area of the two cycles Time of the two cycles t-To Figure 2: Queue-length averaging algoritom. t=current time; t=time ofith arrival or departure event; gi=number offrames in the system after the event; T,=time at the beginning of ...